import unittest

from leetcode.leetcode_space import String


class StringTest(unittest.TestCase):

    def test_reverse_string(self):
        str = ['a', 'b', 'c']
        string = String()
        string.reverseString(str)
        print('str', str)

    def test_first_uniq_char(self):
        input = 'aa'
        string = String()
        first_index = string.firstUniqChar(input)
        print('first index', first_index)
